// license-header java merge-point
/**
 * This is only generated once! It will never be overwritten.
 * You can (and have to!) safely modify it by hand.
 */
package com.jrsystems.tsasetso.leinane;
/**
 * @see com.jrsystems.tsasetso.leinane.Leinane
 */
public class LeinaneDaoImpl
    extends com.jrsystems.tsasetso.leinane.LeinaneDaoBase
{
    /**
     * @see com.jrsystems.tsasetso.leinane.LeinaneDao#toLeinaneVO(com.jrsystems.tsasetso.leinane.Leinane, com.jrsystems.tsasetso.leinane.vo.LeinaneVO)
     */
    public void toLeinaneVO(
        com.jrsystems.tsasetso.leinane.Leinane source,
        com.jrsystems.tsasetso.leinane.vo.LeinaneVO target)
    {
        // @todo verify behavior of toLeinaneVO
        super.toLeinaneVO(source, target);
    }


    /**
     * @see com.jrsystems.tsasetso.leinane.LeinaneDao#toLeinaneVO(com.jrsystems.tsasetso.leinane.Leinane)
     */
    public com.jrsystems.tsasetso.leinane.vo.LeinaneVO toLeinaneVO(final com.jrsystems.tsasetso.leinane.Leinane entity)
    {
        // @todo verify behavior of toLeinaneVO
        return super.toLeinaneVO(entity);
    }


    /**
     * Retrieves the entity object that is associated with the specified value object
     * from the object store. If no such entity object exists in the object store,
     * a new, blank entity is created
     */
    private com.jrsystems.tsasetso.leinane.Leinane loadLeinaneFromLeinaneVO(com.jrsystems.tsasetso.leinane.vo.LeinaneVO leinaneVO)
    {
        // @todo implement loadLeinaneFromLeinaneVO
        throw new java.lang.UnsupportedOperationException("com.jrsystems.tsasetso.leinane.loadLeinaneFromLeinaneVO(com.jrsystems.tsasetso.leinane.vo.LeinaneVO) not yet implemented.");

        /* A typical implementation looks like this:
        com.jrsystems.tsasetso.leinane.Leinane leinane = this.load(leinaneVO.getId());
        if (leinane == null)
        {
            leinane = com.jrsystems.tsasetso.leinane.Leinane.Factory.newInstance();
        }
        return leinane;
        */
    }

    
    /**
     * @see com.jrsystems.tsasetso.leinane.LeinaneDao#leinaneVOToEntity(com.jrsystems.tsasetso.leinane.vo.LeinaneVO)
     */
    public com.jrsystems.tsasetso.leinane.Leinane leinaneVOToEntity(com.jrsystems.tsasetso.leinane.vo.LeinaneVO leinaneVO)
    {
        // @todo verify behavior of leinaneVOToEntity
        com.jrsystems.tsasetso.leinane.Leinane entity = this.loadLeinaneFromLeinaneVO(leinaneVO);
        this.leinaneVOToEntity(leinaneVO, entity, true);
        return entity;
    }


    /**
     * @see com.jrsystems.tsasetso.leinane.LeinaneDao#leinaneVOToEntity(com.jrsystems.tsasetso.leinane.vo.LeinaneVO, com.jrsystems.tsasetso.leinane.Leinane)
     */
    public void leinaneVOToEntity(
        com.jrsystems.tsasetso.leinane.vo.LeinaneVO source,
        com.jrsystems.tsasetso.leinane.Leinane target,
        boolean copyIfNull)
    {
        // @todo verify behavior of leinaneVOToEntity
        super.leinaneVOToEntity(source, target, copyIfNull);
    }

}